package routers

import (
	"gopom/controllers"
	"github.com/astaxie/beego"
)

func init() {
    beego.Router("/", &controllers.MainController{})
	beego.Router("/index", &controllers.HomeController{}, "get:Index")
	beego.Router("/showPackages", &controllers.HomeController{}, "post:ShowPackages")
	beego.Router("/showLibs", &controllers.HomeController{}, "get:ShowLibs")
	beego.Router("/DownGitData", &controllers.HomeController{}, "post:DownGitData")
}
